home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 July
/
EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso
/
earcd
/
comm
/
ums
/
pint.lha
/
UMS
/
Rexx
/
PGPAddKey.pint
< prev
next >
Wrap
Text File
|
1997-03-04
|
1KB
|
63 lines
/****** PGPAddKey.pint ******************************************************
NAME
$VER: PGPAddKey.pint 1.0 (29.3.95)
Updated for PINT (22.2.97):
Magnus Heino (nd95mho@Student.HGS.SE)
SYNOPSIS
add a PGP public-key found in a message to your PGP-keyring
AUTHOR
Olaf Peters
Kulmer Str. 7
28237 Bremen
op@hb2.maus.de / olf@informatik.uni-bremen.de
INSTALLATION
Copy PGPAddKey.pint to the place where your other
PINT-ARexx-Script are located.
NOTES
PGPAddKey.pint is based upon PGPDecrypt.pint by Matthias Scheler
PGPAddKey.pint should only be called from PINT's message-window.
SEE ALSO
PINT's documentation about installing and calling ARexx-script
from within PINT.
******************************************************************************
*
*/
/* Exit if Message Window is not active. */
OPTIONS RESULTS
STATUS
IF RESULT~="MESSAGE" THEN EXIT 5
/* We get PINT's message number, ... */
GETMSGNUM
MsgNum=RESULT
/* ... save the message, ... */
'SAVEMSGBODY' MsgNum 'TO T:PINT.pgp'
/* ... call PGP, ... */
SHELL COMMAND 'pgp +BATCHMODE -ka T:PINT.pgp > T:PINT.PGPOut'
/* ... and show the output of PGP in the messagewindow ... */
'REPLACEMSGBODY WITH T:PINT.pgpout'
/* cleanup */
SHELL COMMAND 'Delete T:PINT.(pgp|pgpout) QUIET'